//
//  AnimationWindow.swift
//  Swift30Days
//
//  Created by licheng ke on 2017/3/9.
//  Copyright © 2017年 licheng ke. All rights reserved.
//

import UIKit

class AnimationWindow: UIWindow {

    let imageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 138, height: 112));
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        imageView.image = #imageLiteral(resourceName: "twitter");
        imageView.center = self.center;
        self.backgroundColor = .blue;
        self.addSubview(imageView);
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func actionAnimation() {
        
    }

}
